<?php
require_once("./php/list.php");
?>
<?php require_once("header.inc.php"); ?>
<table width="66%" align="center" cellpadding="0"  cellspacing="0">
                      <tr>
                        <td class="box-lft-corner2"></td>
                        <td class="box-top2"></td>
                        <td class="box-rgt-corner"></td>
                      </tr>
                      <tr>
                        <td valign="top" class="innerbox-left2"><table width="100%"  cellspacing="0" cellpadding="0">
                          <tr>
                            <td class="innerbox-left"></td>
                          </tr>
                        </table></td>
                        <td valign="top" bgcolor="#EBEBEB" class="box-mdl-bk2"><table width="100%"  cellspacing="0" cellpadding="0">
                          <tr>
                            <td>&nbsp;</td>
                          </tr>
                          <tr>
                            <td valign="top"><table width="95%" align="center" cellpadding="0"  cellspacing="0" bgcolor="#F0F0F0" class="border">
                              <tr>
                                <td><table width="100%" border="0" cellpadding="2"  cellspacing="0" bgcolor="#DDDDDD">
                                    <tr bgcolor="#B4B4B4" class="heading-bold3">
                                      <td width="82%">Subject</td>
                                      <td width="18%" align="center">Exam</td>
                                    </tr>
                                    <?php 
									while($rowS = mysql_fetch_array($resS)){
									?>
									<tr bgcolor="#F0F0F0">
                                      <td class="txt3a"><?php echo $rowS['name']; ?></td>
                                      <td align="center"><a href="exam.php?exam=1"><img src="images/edit-icon.gif" width="17" height="14" border="0"></a></td>
                                    </tr>
									<?php } ?>
                                    
                                </table></td>
                              </tr>
                              <tr>
                                <td>&nbsp;</td>
                              </tr>
                              <tr>
                                <td><table width="100%"  cellspacing="0" cellpadding="0">
                                  <tr>
                                    <td width="97%">&nbsp;</td>
                                    <td width="3%">&nbsp;</td>
                                  </tr>
                                </table></td>
                              </tr>
                              <tr>
                                <td><p>&nbsp;</p>                                  </td>
                              </tr>
                            </table></td>
                          </tr>
                          <tr>
                            <td></td>
                          </tr>
                        </table></td>
                        <td valign="top" class="innerbox-right2"><table width="100%"  cellspacing="0" cellpadding="0">
                          <tr>
                            <td class="innerbox-right"></td>
                          </tr>
                        </table></td>
                      </tr>
                      <tr>
                        <td class="box-btmlft-corner">&nbsp;</td>
                        <td class="box-btm-rpt">&nbsp;</td>
                        <td class="box-btmrgt-corner">&nbsp;</td>
                      </tr>
</table>
<?php require_once("footer.inc.php"); ?>